package com.qqtech.qquan.sys.service;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.core.frame.service.BaseServiceImpl;

import com.qqtech.qquan.sys.dao.SysParamDao;
import com.qqtech.qquan.sys.model.*;

@Service
public class SysParamServiceImpl extends BaseServiceImpl<SysParam>
		implements SysParamService {
	public static final Logger log = LoggerFactory.getLogger(SysParamServiceImpl.class);
	
	@Resource
	private SysParamDao sysParamDao;

	@Override
	protected BaseDao<SysParam> getBaseDao() {
		return sysParamDao;
	}
	
	@Override
	public SysParamVo getByKey(java.lang.String key) {
		return sysParamDao.getByKey(key);
	}	
}